import calendar

xwd1st, xdays = calendar.monthrange(2021, 1)
print(xwd1st, xdays)
